package com.shure.modules.docs.query;

import com.shure.common.query.Query;
import com.shure.common.query.annotation.Wrapper;
import com.shure.common.query.condition.ConditionType;
import com.shure.modules.docs.entity.Knowledge;

import lombok.Data;

@Data
public class KnowledgeQuery extends Query {

    @Wrapper(keyword = ConditionType.like)
    private String name;

    @Wrapper(keyword = ConditionType.like)
    private String desc;

    @Wrapper(keyword = ConditionType.eq)
    private String industry;

    public <T> Class<T> getClazz() {
        return (Class<T>) Knowledge.class;
    }

    
}
